home *** CD-ROM | disk | FTP | other *** search
- /*
- * Make3DpicM v1.3
- * Arexx Macro for use with ImageFX
- *
- * Makes a monochrome picture 3D for use with Red & Blue glasses.
- * Must be rendered in Imagine with Stereo3D turned on.
- * (or in any program that generates pictures in X-Specs Format)
- *
- * For multiple image processing use IMP and put this script in Proc.
- *
- * Written By Torgeir Holm ©1994
- *
- */
-
- OPTIONS RESULTS
-
- DrawMode Normal
- Blend 100
- EdgeMode Normal 0
- FillMode Solid 0 0 0 SMOOTH
-
- GetMain
- PARSE VAR result name width height depth
-
- redraw OFF
-
- /* Separate the Left and Right Image.*/
-
- w = width
- h = (height/2)
- a = (height/2+1)
- Crop 0 0 w h TOSWAP
- Crop 0 a w h
-
-
- /* Make Red & Cyan buffers*/
-
- Buffer2Alpha
- ClearBuffer 0 0 0 FORCE
- ActiveColor 5
- MenuPalette
- SetPalette '-1' 0 255 255
- MenuToolbox
- AlphaChannel Frisket
- FloodFill 1 1 255
- Brightness '64'
-
- Swap
-
- Buffer2Alpha
- ClearBuffer 0 0 0 FORCE
- ActiveColor 4
- MenuPalette
- SetPalette '-1' 255 0 0
- MenuToolbox
- FloodFill 1 1 255
- Brightness '64'
-
-
- /* Combine the Images to make 3D image and free alpha channel memory*/
-
- Add
- KillAlpha
- KillSwap
-
- Redraw ON
-
- EXIT
-